<#macro layoutHead title>
<!DOCTYPE html>
<html lang="en">
<head>
    <#include "meta.ftl" />
    <title>${title ! ""}</title>
    <#include "style.ftl" />
</head>
</#macro>

<#macro layoutBody titles>
<body class="layui-layout-body">

<div class="layui-layout layui-layout-admin">
    <!--顶部-->
    <#include "header.ftl" />
    <!--侧边导航-->
    <#include "menu-left.ftl" />
    <!--收起导航-->
    <div class="layui-side-hide layui-bg-cyan">
        <i class="fa fa-long-arrow-left fa-fw"></i>收起导航
    </div>
    <!--主体内容-->
    <div class="layui-body">
        <div style="margin:0;position:absolute;top:4px;bottom:0;width:100%;" class="layui-tab layui-tab-brief"
             lay-filter="tab" lay-allowclose="true">
            <ul class="layui-tab-title">
                <li lay-id="0" class="layui-this">首页</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <#nested />
                </div>
            </div>
        </div>
    </div>
    <!--底部信息-->
    <#include "footer.ftl" />
</div>
<#include "javascript.ftl" />
<#--<script type="text/javascript" src="${baseUrlStatic}/admin/script/im.js"></script>-->
</body>
</html>
</#macro>